package cn.com.nes.mybatis.agent.system.mapper;

import cn.com.nes.mybatis.agent.system.entity.SystemXzqh;
import cn.com.nes.site.service.system.region.dto.RegionCodeTreeNode;
import cn.com.nes.site.service.system.region.dto.RegionDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yishuai
 */
public interface SystemXzqhMapper extends BaseMapper<SystemXzqh> {

    List<SystemXzqh> getListByPrefix(@Param("regionCodePrefix") String regionCodePrefix);


    List<RegionCodeTreeNode> getRgionCodeList(@Param("regionCodeList") List<String> regionCodeList);


    List<String> getAreaCodeByPrefix(@Param("regionCodePrefix") String regionCodePrefix);


    List<RegionDTO> getRgionCodes(@Param("regionCodes") List<String> regionCodes);

}




